package com.yunhe.policyfulfillment.policyful.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: Appeal
 * @Description:
 * @author: GongDaCheng
 * @Date: 11:27 2021/8/24
 */
@ApiModel("诉求信息")
@Data
public class Appeal implements Serializable {

    private static final long serialVersionUID = 269021287254517542L;

    /**
     * id
     */
    @ApiModelProperty("id")
    private long id;

    /**
     * 诉求编码
     */
    @ApiModelProperty("诉求编码")
    private String appealCode;

    /**
     * 诉求人id(企业用户id)
     */
    @ApiModelProperty("诉求人id(企业用户id)")
    private Long appealPersonId;

    /**
     * 诉求人姓名
     */
    @ApiModelProperty("诉求人姓名")
    private String appealPersonName;

    /**
     * 诉求人联系方式
     */
    @ApiModelProperty("诉求人联系方式")
    private String appealPersonContact;

    /**
     * 诉求类型
     */
    @ApiModelProperty("诉求类型")
    private String appealType;

    /**
     * 诉求类型Title
     */
    @ApiModelProperty("诉求类型Title")
    private String appealTypeTitle;

    /**
     * 诉求类别Title
     */
    @ApiModelProperty("诉求类别Title")
    private String appealCategoryTitle;

    /**
     * 诉求类别
     */
    @ApiModelProperty("诉求类别")
    private String appealCategory;

    /**
     * 诉求标题
     */
    @ApiModelProperty("诉求标题")
    private String appealTitle;

    /**
     * 诉求内容
     */
    @ApiModelProperty("诉求内容")
    private String appealContent;

    /**
     * 办理部门
     */
    @ApiModelProperty("办理部门")
    private long handleOrg;

    /**
     * 办理部门Title
     */
    @ApiModelProperty("办理部门Title")
    private String handleOrgTitle;

    /**
     * 办理状态
     */
    @ApiModelProperty("办理状态")
    private String handleState;

    /**
     * 是否公开
     * 1:是
     * 2:否
     */
    @ApiModelProperty("是否公开")
    private String isPublic;

    /**
     * 提交时间
     */
    @ApiModelProperty("提交时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date submitTime;

    /**
     * 到期时间
     */
    @ApiModelProperty("到期时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date deadLine;

    /**
     * 审核建议
     */
    @ApiModelProperty("审核建议")
    private String suggest;

    /**
     * 处理时间
     */
    @ApiModelProperty("处理时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date handleTime;

    /**
     * 是否删除
     * 0:否
     * 1:是
     */
    @ApiModelProperty("是否删除")
    private String isDelete;

    /**
     * 剩余天数
     */
    @ApiModelProperty("剩余天数")
    private int remainingDays;

    @ApiModelProperty("是否有满意度评价 无：0 有：1")
    private String isSatisfactionEvaluation;
}
